import request from "../utils/request"
import {requestGet,requestPost} from "../api/request/request"


/**
 * 
 * @param obj 获取搜索类型
 * @returns 
 */
export const getActionTypes=(obj:any)=>{
    return requestGet("api/Logs/GetActionTypes",obj);
}


/**
 * 
 * @param obj 获取日志行为
 * @returns 
 */
export const getActionLogs=(obj:any)=>{
    return requestGet("api/Logs/getActionLogs",obj);
}


/**
 * 
 * @param obj 获取登录日志
 * @returns 
 */
export const getLoginLogs=(obj:any)=>{
    return requestGet("api/Logs/getLoginLogs",obj);
}


/**
 * 
 * @param obj 获取错误日志
 * @returns 
 */
export const getErrors=(obj:any)=>{
    return requestGet("api/Logs/getErrors",obj);
}


/**
 * 
 * @param obj 获取日志行为详情
 * @returns 
 */
export const getSingleActionLog=(obj:any)=>{
    return requestGet("api/Logs/GetSingleActionLog",obj);
}
